package c.francis.pojo;
import org.springframework.stereotype.Component;
@Component
public class Category {
	 private int id;
	 private String name,code,description;
	 private double bedprice,roomprice;
	public Category() {
		super();
	}
	public Category(int id, String name, String code, String description, double bedprice, double roomprice) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.description = description;
		this.bedprice = bedprice;
		this.roomprice = roomprice;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public double getBedprice() {
		return bedprice;
	}
	public void setBedprice(double bedprice) {
		this.bedprice = bedprice;
	}
	public double getRoomprice() {
		return roomprice;
	}
	public void setRoomprice(double roomprice) {
		this.roomprice = roomprice;
	}
	@Override
	public String toString() {
		return "Category [id=" + id + ", name=" + name + ", code=" + code + ", description=" + description
				+ ", bedprice=" + bedprice + ", roomprice=" + roomprice + "]";
	}
}
